home *** CD-ROM | disk | FTP | other *** search
/ Super Shareware Collection / Super Shareware Collection.iso / info / ms_txt.zip / PD0463.TXT < prev    next >
Text File  |  1994-02-18  |  7KB  |  152 lines

  1. ======================================================================
  2.   Microsoft(R) Product Support Services Application Note (Text File)
  3.                    PD0463: USING THE SETVER COMMAND
  4. ======================================================================
  5.                                                    Revision Date: 2/93
  6.                                                       No disk included
  7.  
  8. The following information applies to Microsoft MS-DOS(R), versions 5.0
  9. and 6.0.
  10.  
  11.  --------------------------------------------------------------------
  12. | INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY    |
  13. | ACCOMPANY THIS DOCUMENT (collectively referred to as an            |
  14. | Application Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY      |
  15. | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO    |
  16. | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A     |
  17. | PARTICULAR PURPOSE. The user assumes the entire risk as to the     |
  18. | accuracy and the use of this Application Note. This Application    |
  19. | Note may be copied and distributed subject to the following        |
  20. | conditions: 1) All text must be copied without modification and    |
  21. | all pages must be included; 2) If software is included, all files  |
  22. | on the disk(s) must be copied without modification [the MS-DOS     |
  23. | utility DISKCOPY is appropriate for this purpose]; 3) All          |
  24. | components of this Application Note must be distributed together;  |
  25. | and 4) This Application Note may not be distributed for profit.    |
  26. |                                                                    |
  27. | Copyright 1991-1993 Microsoft Corporation. All Rights Reserved.    |
  28. | Microsoft and MS-DOS are registered trademarks and Windows         |
  29. | is a trademark of Microsoft Corporation.                           |
  30.  --------------------------------------------------------------------
  31.  
  32.  
  33. INTRODUCTION
  34. ------------
  35.  
  36. Some applications check which version of Microsoft MS-DOS is running
  37. when you start them. Such applications may not run if you are using a
  38. version of MS-DOS that the application was not designed for. For
  39. example, an application designed for MS-DOS version 3.30 may not start
  40. if you are running MS-DOS version 6.0; instead, the application may
  41. display a message similar to the following:
  42.  
  43.    Incorrect DOS version
  44.       
  45. This message indicates that one of the following problems exists:
  46.  
  47. - The application is incompatible with your version of MS-DOS.
  48.  
  49. - The application is compatible; however, the application cannot run
  50.    because it interprets the MS-DOS version as incompatible.
  51.  
  52. Contact the manufacturer of your application to determine whether it
  53. is compatible with MS-DOS versions 5.0 and/or 6.0. If it is
  54. incompatible with these versions, you need to obtain an updated
  55. version of the application.
  56.  
  57. SOLUTION: USING SETVER
  58. ----------------------
  59.  
  60. If the application is actually compatible but interprets your version
  61. of MS-DOS as incompatible, you may be able to work around this problem
  62. by adding the application to the version table. The version table is a
  63. list of applications that need MS-DOS to report a version number other
  64. than 5.0 or 6.0. MS-DOS maintains the version table in a file called
  65. SETVER.EXE, which is in your DOS directory.
  66.  
  67. To add an application to the version table, use the SETVER command.
  68. The syntax of the SETVER command is as follows
  69.  
  70.       setver <filename> <n.nn>
  71.    
  72. where <filename> is the name of the application file, including its
  73. extension, and <n.nn> is the version number you want MS-DOS to report.
  74. Use the version number of your previous version of MS-DOS with the
  75. SETVER command. For example, if your previous version of DOS was 3.20,
  76. specify 3.20 on the SETVER command line.
  77.  
  78.   NOTE: You do not need to specify the location of the file.
  79.  
  80. Suppose you have an application called EASYEDIT.EXE that requires MS-
  81. DOS to report version 3.30. To work around this version number
  82. problem, type the following command at the MS-DOS command prompt to
  83. add EASYEDIT.EXE to the version table:
  84.  
  85.       setver easyedit.exe 3.30
  86.       
  87. To use SETVER, you must also have the "DEVICE=C:\DOS\SETVER.EXE"
  88. command in your CONFIG.SYS file. This command installs the SETVER.EXE
  89. file, which contains the version table, each time you start your
  90. computer. Usually, Setup adds this command for you when you install MS-
  91. DOS version 5.0 or 6.0 on your computer. If "DEVICE=C:\DOS\SETVER.EXE"
  92. is not in your CONFIG.SYS file, use a text editor to add it.
  93.  
  94. You must restart your computer by pressing CTRL+ALT+DEL for the change
  95. in the version table to take effect.
  96.    
  97.    NOTE: Make sure you have only one SETVER.EXE file on your hard disk
  98.    drive. Each SETVER.EXE file contains a unique version table. If you
  99.    have multiple version tables, SETVER may not report the correct
  100.    version number to an application.
  101.  
  102. To display the complete list of applications in the version table,
  103. type "SETVER" at the MS-DOS command prompt.
  104.       
  105. The setup programs for MS-DOS 5 Upgrade and MS-DOS 6 Upgrade add
  106. several programs and device drivers to the version table; therefore,
  107. even if you don't add any programs to the version table yourself, you
  108. will see a list of applications when you type the command.
  109.  
  110. If you install an updated version of the application, you may need to
  111. remove its entry from the version table. You can do this by using 
  112. the /D switch with the SETVER command.
  113.  
  114. For example, to remove the EASYEDIT.EXE application from the version
  115. table, type the following command:
  116.  
  117.       setver easyedit.exe /d
  118.       
  119. You must restart your computer by pressing CTRL+ALT+DEL for this
  120. change to take effect. Once you do, MS-DOS goes back to reporting the
  121. current version of MS-DOS to the application.
  122.  
  123. The SETVER command does not affect whether an application is actually
  124. compatible with MS-DOS. The command works only for applications that
  125. are already compatible with MS-DOS version 5.0 or 6.0 and simply need
  126. to receive a different version number when they check for the MS-DOS
  127. version at startup.
  128.  
  129. If an application is incompatible, you must obtain an updated version
  130. from the manufacturer of the application.
  131.  
  132.    Caution: You many want to contact your software manufacturer to
  133.    determine if your specific program works with MS-DOS 5.0 or 6.0.
  134.    Some programs rely on outdated MS-DOS functions that may not be
  135.    present in MS-DOS 5.0 or 6.0. Adding an incompatible program to the
  136.    version table may result in lost or corrupt data or system
  137.    instabilities. Microsoft is not responsible for any lost, damaged,
  138.    or corrupted data.
  139.  
  140.  
  141. ADDITIONAL INFORMATION
  142. ----------------------
  143.  
  144. For more information about the SETVER command, see Chapter 14 of the
  145. "Microsoft MS-DOS User's Guide and Reference" if you are using MS-DOS
  146. 5 Upgrade. If you are using MS-DOS 6 Upgrade, see the MS-DOS Help for
  147. more information about the SETVER command. To use the MS-DOS Help,
  148. type "help" at the MS-DOS command prompt.
  149.  
  150.  
  151.  
  152.